import request from "@/request/request"

// 请求一级分类
export const reqCategory1List = ()=>{
  return  request.get(`/admin/product/getCategory1`)
}

// 请求二级分类
export const reqCategory2List = (category1Id)=>{
    return  request.get(`/admin/product/getCategory2/${category1Id}`)
  }

  // 请求三级分类
// export const reqCategory3List = (category2Id)=>{
//     return  request.get(`/admin/product/getCategory3/${category2Id}`)
//   }